package com.xiaoda.service;

import com.xiaoda.entity.Collect;

import java.util.List;

public interface CollectService {

    List<Collect> findAll();

    Collect isCollected(String fromUid, int toAid);

    int addCollectArticle(String fromUid, int toAid);

    int delCollectArticle(String fromUid, int toAid);

    List<Collect> findAllByUid(String fromUid, int start, int end);

    int deleteByUid(String uid);

    int deleteByAid(int aid);

}
